From 53ecc28f0e91051cf7874012ea13a6899910b105 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 24 Dec 2010 08:47:59 +0000 Subject: [PATCH] x86: link-time .data section adjustments Fold compiler generated sections (mostly due to -fPIC on x86-64) into the general .data and .data.read_mostly sections. Signed-off-by: Jan Beulich --- xen/arch/x86/xen.lds.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index 49691d35c5..16e710c3fd 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -51,12 +51,16 @@ SECTIONS __stop___pre_ex_table = .; *(.data.read_mostly) + *(.data.rel.ro) + *(.data.rel.ro.*) } :text .data : { /* Data */ . = ALIGN(PAGE_SIZE); *(.data.page_aligned) *(.data) + *(.data.rel) + *(.data.rel.*) CONSTRUCTORS } :text -- 2.30.2